import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
const store = new Vuex.Store({
	state: {
    // tabbarList 自定义tabbar
		tabbarList: [
      {
				iconPath: "static/images/tabbar/Home.png",
				selectedIconPath: "static/images/tabbar/Home_select.png",
				text: '首页',
				count: 2,
				pagePath: "/pages/Home/Home"
			},
			{
				iconPath: "static/images/tabbar/Checkup.png",
				selectedIconPath: "static/images/tabbar/Checkup_select.png",
				text: '查询',
				count: 2,
				pagePath: "/pages/Checkup/Checkup"
			},
      {
        iconPath: "static/images/tabbar/Appointment.png",
        selectedIconPath: "static/images/tabbar/Appointment_select.png",
        text: "预约",
        pagePath: "/pages/Appointment/Appointment"
      },
			{
        iconPath: "static/images/tabbar/My.png",
        selectedIconPath: "static/images/tabbar/My_select.png",
        text: "我的",
        pagePath: "/pages/My/My",
			},
		]
	},
	mutations: {

	}
})
export default store
